package com.itheima.file;

import java.awt.datatransfer.FlavorEvent;
import java.io.File;
import java.io.IOException;

public class Demo03 {

    public static void main(String[] args) throws IOException {

        File file = new File("day12\\b.txt");
        System.out.println(file.createNewFile());
     /*   File file1 = new File("day12\\bbb\\b.txt");
        System.out.println(file1.createNewFile());*/
        File file2 = new File("day12\\bbb\\ccc");
        System.out.println(file2.mkdirs());
    }
}
